from pytest_yaml_yoyo.swagger_parser import SwaggerToYaml

# 2种 1、url  2、本地json
s = SwaggerToYaml('./swagger.json')
